<?php

namespace App\Vilidate\playlet;

/**
 * user控制器下的验证规则类
 */
class StsController
{
    public $uploadPath = [
        'rule' => [
            'type' => 'required|string',
        ],
        'msg' => [
            'type.required' => '类型不能为空',
            'type.string' => '类型为字符串',
        ]
    ];
}
